/* 文本样式 */
body{
  /* font-family: "Helvetica Neue",Helvetica,"Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;    */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  color: #2c3e50;
}

/* 导航栏(不会因下拉而消失) */
.app-nav {
  position: fixed !important;
}
/* 内容居中和宽度 */
.content{
  width: 1000px;
  margin: 0 auto;
  padding-top: 70px !important;
}
/* 内容区域的字体颜色和背景 */
.markdown-section{
  color: black;
  max-width: 90% !important;
  padding: 30px 30px 40px 30px !important;
  border-radius: 20px;
}
/* 行代码块 */
.markdown-section code {
  font-size: 14px;
  font-family: Consolas, monospace, serif;
  white-space: nowrap;
  padding: 0 4px;
  border-radius: 3px;
  background: rgb(247, 247, 247);
  white-space: normal;
  color: #5352ed;
}

/* 自定义标签 */
popup-info {
  border-radius: 2px;
  font-family: "Helvetica Neue",Helvetica,"Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;
  font-size: 16px !important;
  margin: 0 2px;
  padding: 6px,5px;
  white-space: nowrap;
  border: 1px solid #b28ec4;
  color: rgb(52, 132, 206);
  word-wrap: break-word;
}

/* h2字体设置 */
h2
{
    font-weight: bold !important;
    color:#ffffff !important;
}
h2 span{
    display:inline-block;
    background: rgb(33, 57, 163);
    color:#ffffff !important;
    padding:  10px  16px;
    border-radius:5px;
    box-shadow: 2px 2px 5px rgb(216, 216, 216);
    border-radius: 50%;
}
.markdown-section hr {
  border: none;
  border-bottom: 2px solid rgb(247, 247, 247) !important;
  margin: 2em 0;
}

/* 导航栏字体大小 */
.app-nav a {
  font-size: 16px;
}

/* 以下是侧边栏(自定义) */
aside.sidebar ul li {
  margin: 0;
  position: relative;
}

aside.sidebar ul li ul {
  margin: 6px 0;
}

aside.sidebar ul li p {
  padding-left: 22px;
  font-size: 18px;
  font-weight: normal;
}

aside.sidebar ul li a {
  line-height: 35px;
  font-size: 16px;    /* 侧边栏字体大小 */
  padding: 3px 0 3px 22px;
}

aside.sidebar ul li.active > a {
  font-size: 16px !important;
}

aside.sidebar ul li.active > a:before {
  content: '' !important;
  position: absolute !important;
  margin: 0 !important;
  width: 10px !important;
  height: 10px !important;
  top: 15px !important;
  left: 0px !important;
  border-radius: 50% !important;
  background-color: #fed24a !important;
  box-shadow: 0 0 0 3px rgba(254, 210, 74, 0.4) !important;
}

/*滚动条样式 start*/
/* 滚动条宽度 */
::-webkit-scrollbar{width:5px;}
/* 滚动条颜色 */
::-webkit-scrollbar-thumb{
  background: #33a9dc;
  background-image: linear-gradient(#6ecd56, #33a9dc, #cb6196, #c16290);
  border-radius: 2em;
}

/* 加粗 */
.markdown-section strong {
  color: rgb(115, 143, 205);
  font-weight: bolder;
}
/* a 标签 */
.markdown-section a {
  color: rgb(66, 185, 163);
  font-weight: 500;
}
/* 表格 */
.markdown-section tr:nth-child(2n) {
  background-color: rgb(248, 248, 248);
}
.markdown-section thead{
  background: rgb(248, 248, 248) !important;
}
.markdown-section table {
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 1rem;
  display: table !important;
  overflow: auto;
  width: 100%;
}

/* 引用块 */
.markdown-section blockquote{
  background: rgb(220, 220, 255);
  padding:10px;
  border-radius:10px;
}

/* 代码块 */
.markdown-section pre:before {
  content: '';
  display: block;
  background: url(https://cdn.jsdelivr.net/gh/zxiaosi/cdn/Docsify/images/point.png);
  height: 30px;
  width: 100%;
  background-size: 40px;
  background-repeat: no-repeat;
  background-color: #282c34;
  margin-bottom: -7px;
  margin-top: 10px;
  margin-left: -3px;
  border-radius: 5px;
  background-position: 10px 10px;
}
/* 代码块 */
.markdown-section pre>code {
  color: #c0c3c1 !important;
  font-family: 'Inconsolata', consolas,"PingFang SC", "Microsoft YaHei", monospace !important;
  background-color: #282c34 !important;    
  font-size: 15px !important;
  white-space: pre !important;
  line-height: 1.5 !important;
  -moz-tab-size: 4 !important;
  -o-tab-size: 4 !important;
  tab-size: 4 !important;

}
/* 代码块 */
markdown-section code, .markdown-section pre {
  background-color: #282c34;
}
.token.directive.keyword{
  color: #4faee2 !important;
}

.token.keyword{
  color: #c678dd !important;
}

.token.comment{
  color: #737c8b !important;
}

.token.tag{
  color: #a589ad !important;
}


.token.attr-name{
  color: #de916c !important;
}
.token.attr-value{
  color: #4faee2 !important;
}

.token.macro.property{
  color: #4faee2 !important;
}

.token.function{
  color: #e6b456 !important;
}
.token.string{
  color: #98b755 !important;
}
.token.punctuation{
  color: #c0c3c1 !important;
}

.token.number{
  color:#c0c3c1  !important;
}

img, pre {
  border-radius: 8px;
}

